try { Write-Host "Updating Microsoft Defender signatures..." Update-MpSignature -ErrorAction Stop Write-Host "Signature update completed successfully." } catch { Write-Host "Failed to update Defender signatures: $($_.Exception.Message)" exit 1 }